home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland Pascal with Objects 7.0 / OWL.ZIP / OWINDOWS.INC < prev    next >
Text File  |  1992-10-27  |  2KB  |  59 lines

  1.  
  2. {*******************************************************}
  3. {                                                       }
  4. {       Turbo Pascal for Windows Run-time Library       }
  5. {       ObjectWindows Include File                      }
  6. {                                                       }
  7. {       Copyright (c) 1992 Borland International        }
  8. {                                                       }
  9. {*******************************************************}
  10.  
  11. const
  12.  
  13. { Application message constants }
  14.  
  15.   wm_First    = $0000;            { $0000-$7FFF window messages }
  16.   id_First    =    $8000;          { $8000-$8FFF child id messages }
  17.   id_Internal = $8F00;            { $8F00-$8FFF reserved for internal use }
  18.   nf_First    =    $9000;          { $9000-$9FFF notification messages }
  19.   nf_Internal = $9F00;            { $9F00-$9FFF reserved for internal use }
  20.   cm_First    =    $A000;          { $A000-$FFFF command messages }
  21.   cm_Internal =    $FF00;            { $FF00-$FFFF reserved for internal use }
  22.   wm_Count    =    $8000;            { Number of window messages }
  23.   id_Count    =    $1000;            { Number of child ID messages }
  24.   nf_Count    =    $1000;            { Number of notification messages }
  25.   cm_Count    =    $6000;            { Number of command messages }
  26.  
  27. { Standard child ID messages }
  28.  
  29.   id_Reserved      = id_Internal - id_First;
  30.   id_FirstMDIChild = id_Reserved + 1;
  31.   id_MDIClient     = id_Reserved + 2;
  32.  
  33. { Standard command messages }
  34.  
  35.   cm_Reserved        = cm_Internal - cm_First;
  36.   cm_EditCut         = cm_Reserved + 0;
  37.   cm_EditCopy        = cm_Reserved + 1;
  38.   cm_EditPaste       = cm_Reserved + 2;
  39.   cm_EditDelete      = cm_Reserved + 3;
  40.   cm_EditClear       = cm_Reserved + 4;
  41.   cm_EditUndo        = cm_Reserved + 5;
  42.   cm_EditFind        = cm_Reserved + 6;
  43.   cm_EditReplace     = cm_Reserved + 7;
  44.   cm_EditFindNext    = cm_Reserved + 8;
  45.  
  46.   cm_FileNew         = cm_Reserved + 9;
  47.   cm_FileOpen        = cm_Reserved + 10;
  48.   cm_MDIFileNew      = cm_Reserved + 11;
  49.   cm_MDIFileOpen     = cm_Reserved + 12;
  50.   cm_FileSave        = cm_Reserved + 13;
  51.   cm_FileSaveAs      = cm_Reserved + 14;
  52.   cm_ArrangeIcons    = cm_Reserved + 15;
  53.   cm_TileChildren    = cm_Reserved + 16;
  54.   cm_CascadeChildren = cm_Reserved + 17;
  55.   cm_CloseChildren   = cm_Reserved + 18;
  56.   cm_CreateChild     = cm_Reserved + 19;
  57.   cm_Exit            = cm_Reserved + 20;
  58.  
  59.